package com.zhiyou100.www.web.util;

import cn.hutool.core.util.RuntimeUtil;

/**
 * @packageName: UsingTheAgent
 * @className: com.zhiyou100.www.web.util
 * @Description: TODO 使用代理
 * @author: yang
 * @date: 6/14/20
 */
public class UsingTheAgent extends BaseGetWebString {

    public UsingTheAgent(String path) {
        super(path);
    }

    @Override
    public String getWebString() {
        String oder = "proxychains4 -q curl " + path;
        return RuntimeUtil.execForStr(oder);
    }
}
